<div class="tab-pane fade" id="shoppane">
    <form class="form-horizontal" role="form" method="post" action="<?php echo page_url('gian-hang/cap-nhat'); ?>">
    	<div class="form-group">
    		<label for="shop-title" class="col-md-2 control-label"><span class="text-danger">*</span> Tên gian hàng</label>
            <div class="col-md-4">
                <input name="shop[title]" type="text" class="form-control" id="shop-title" value="<?php echo $shop->getTitle(); ?>" />
                <input name="shop_id" type="hidden" value="<?php echo $this->encrypt->encode($shop->getId()); ?>" />
            </div>
        </div>
        <div class="form-group">
    		<label for="shop-slug" class="col-md-2 control-label"><span class="text-danger">*</span> Đường dẫn</label>
            <div class="col-md-4">
                <input name="shop[slug]" type="text" class="form-control" id="shop-slug" value="<?php echo $shop->getSlug(); ?>" />
            </div>
        </div>
        <div class="form-group">
            <label for="shop-homepage" class="col-md-2 control-label">Website</label>
            <div class="col-md-4">
                <input name="shop[home_page]" type="text" class="form-control" id="shop-homepage" value="<?php echo $shop->getHomePage(); ?>" />
            </div>
        </div>            
        <div class="form-group">
            <label for="shop-details" class="col-md-2 control-label">Chi tiết</label>
            <div class="col-md-10">
                <textarea name="shop_details" class="ckeditor" id="shop-details" rows="5"><?php echo $shop->getDetails(); ?></textarea>
            </div>
        </div>
        <div class="form-group">
            <label for="shop-payment-method" class="col-md-2 control-label"><span class="text-danger">*</span> Phương thức thanh toán</label>
            <div class="col-md-10">
                <textarea name="shop_payment_method" class="ckeditor" id="shop-payment-method"><?php echo $shop->getPaymentMethod(); ?></textarea>
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-4 col-md-offset-2">
                <button type="button" id="user-shop-update-btn" class="btn btn-success">
                    <i class="glyphicon glyphicon-ok-sign"></i>&nbsp;
                    Lưu&nbsp;
                </button>
            </div>
        </div>
    </form>
</div>